<!doctype html>


<html>
<head>
  <link rel="shortcut icon" href="static/images/favicon.ico" type="image/x-icon">
  <title>DateTimeFormat (Closure Library API Documentation - JavaScript)</title>
  <link rel="stylesheet" href="static/css/base.css">
  <link rel="stylesheet" href="static/css/doc.css">
  <link rel="stylesheet" href="static/css/sidetree.css">
  <link rel="stylesheet" href="static/css/prettify.css">

  <script>
     var _staticFilePath = "static/";
     var _typeTreeName = "goog";
     var _fileTreeName = "Source";
  </script>

  <script src="static/js/doc.js">
  </script>

  <script type="text/javascript" src="//www.google.com/jsapi"></script>
  <script type="text/javascript">
     google.load("visualization", "1", {packages:["orgchart"]});
     var _loadingVisualizations = true;
  </script>

  <meta charset="utf8">
</head>

<body onload="grokdoc.onLoad();">

<div id="header">
  <div class="g-section g-tpl-50-50 g-split">
    <div class="g-unit g-first">
      <a id="logo" href="index.html">Closure Library API Documentation</a>
    </div>

    <div class="g-unit">
      <div class="g-c">
        <strong>Go to class or file:</strong>
        <input type="text" id="ac">
      </div>
    </div>
  </div>
</div>





<div class="colmask rightmenu">
<div class="colleft">
    <div class="col1">
      <!-- Column 1 start -->

<div id="title">
        <span class="fn">i18n.DateTimeFormat</span>
        <span>Extends</span>
        <span class="fn-name">
          
        </span>
</div>

<div class="g-section g-tpl-75-25">
  <div class="g-unit g-first" id="description">
    Construct a DateTimeFormat object based on current locale.

  </div>


        <div class="g-unit" id="useful-links">
          <div class="title">Useful links</div>
          <ol>
            <li><a href="local_closure_goog_i18n_datetimeformat.js.source.html"><span class='source-code-link'>Source Code</span></a></li>
            <li><a href="http://code.google.com/p/closure-library/source/browse/local/closure/goog/i18n/datetimeformat.js">Git</a></li>
          </ol>
        </div>
</div>






<h2 class="g-first">Inheritance</h2>
<div class='gviz-org-chart-container goog-inline-block'>
<table class='gviz-org-chart' style='display:none'>
  <tr><td>goog.i18n.DateTimeFormat</td><td></td></tr>
</table>
</div>
<div class='gviz-org-chart-container goog-inline-block'>
<table class='gviz-org-chart' style='display:none'>
</table>
</div>




  <h2>Constructor</h2>
      <div class="fn-constructor">
    goog.i18n.DateTimeFormat(<span><span class="arg">pattern</span>,&nbsp;<span class="arg">opt_dateTimeSymbols</span></span>)
  </div>

   <h3>Parameters</h3>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">pattern</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span><span>&nbsp;|&nbsp;</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">pattern specification or pattern type.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">opt_dateTimeSymbols</span>
        : <span>!</span><span class="type">Object=</span>
        <div class="entryOverview">Optional symbols to use use for this
    instance rather than the global symbols.</div>
     </td>
   </tr>
  </table>


<h2>Instance Methods</h2>


  <div class="legend">
        <span class="key publickey"></span><span>Public</span>
        <span class="key protectedkey"></span><span>Protected</span>
        <span class="key privatekey"></span><span>Private</span>
  </div>







<div>
       <div class="desc">
         Defined in
         <span class="fn-name">
            <a href="class_goog_i18n_DateTimeFormat.html">
              goog.i18n.DateTimeFormat
            </a>
         </span>
       </div>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.DateTimeFormat.prototype.applyPattern_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">applyPattern_<span class="args">(<span class="arg">pattern</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Apply specified pattern to this formatter object.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">pattern</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">String specifying how the date should be formatted.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_datetimeformat.js.source.html#line177">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.DateTimeFormat.prototype.applyStandardPattern_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">applyStandardPattern_<span class="args">(<span class="arg">formatType</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Apply a predefined pattern as identified by formatType, which is stored in
locale specific repository.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">formatType</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">A number that identified the predefined pattern.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_datetimeformat.js.source.html#line264">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.DateTimeFormat.prototype.format"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">format<span class="args">(<span class="arg">date</span>,&nbsp;<span class="arg">opt_timeZone</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Format the given date object according to preset pattern and current lcoale.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">date</span>
        : <span class="type">goog.date.DateLike</span>
        <div class="entryOverview">The Date object that is being formatted.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">opt_timeZone</span>
        : <span class="type">goog.i18n.TimeZone=</span>
        <div class="entryOverview">optional, if specified, time
   related fields will be formatted based on its setting. When this field
   is not specified, "undefined" will be pass around and those function
   that really need time zone service will create a default one.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            Formatted string for the given date.
   Throws an error if the date is null or if one tries to format a date-only
   object (for instance goog.date.Date) using a pattern with time fields.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_datetimeformat.js.source.html#line212">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.DateTimeFormat.prototype.format0To11Hours_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">format0To11Hours_<span class="args">(<span class="arg">count</span>,&nbsp;<span class="arg">date</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Formats (0..11) Hours field according to pattern specified


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">count</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">Number of time pattern char repeats, it controls
    how a field should be formatted.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">date</span>
        : <span>!</span><span class="type">goog.date.DateLike</span>
        <div class="entryOverview">It holds the date object to be formatted.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            formatted string that represent this field.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_datetimeformat.js.source.html#line506">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.DateTimeFormat.prototype.format0To23Hours_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">format0To23Hours_<span class="args">(<span class="arg">count</span>,&nbsp;<span class="arg">date</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Formats (0..23) Hours field according to pattern specified


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">count</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">Number of time pattern char repeats, it controls
    how a field should be formatted.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">date</span>
        : <span>!</span><span class="type">goog.date.DateLike</span>
        <div class="entryOverview">It holds the date object to be formatted.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            formatted string that represent this field.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_datetimeformat.js.source.html#line523">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.DateTimeFormat.prototype.format1To12Hours_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">format1To12Hours_<span class="args">(<span class="arg">count</span>,&nbsp;<span class="arg">date</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Formats (1..12) Hours field according to pattern specified


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">count</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">Number of time pattern char repeats, it controls
    how a field should be formatted.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">date</span>
        : <span>!</span><span class="type">goog.date.DateLike</span>
        <div class="entryOverview">It holds the date object to be formatted.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            formatted string that represent this field.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_datetimeformat.js.source.html#line489">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.DateTimeFormat.prototype.format24Hours_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">format24Hours_<span class="args">(<span class="arg">count</span>,&nbsp;<span class="arg">date</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Formats (1..24) Hours field according to pattern specified


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">count</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">Number of time pattern char repeats. This controls
    how a field should be formatted.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">date</span>
        : <span>!</span><span class="type">goog.date.DateLike</span>
        <div class="entryOverview">It holds the date object to be formatted.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            Formatted string that represent this field.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_datetimeformat.js.source.html#line418">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.DateTimeFormat.prototype.formatAmPm_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">formatAmPm_<span class="args">(<span class="arg">count</span>,&nbsp;<span class="arg">date</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Formats Am/Pm field according to pattern specified


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">count</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">Number of time pattern char repeats, it controls
    how a field should be formatted.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">date</span>
        : <span>!</span><span class="type">goog.date.DateLike</span>
        <div class="entryOverview">It holds the date object to be formatted.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            Formatted string that represent this field.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_datetimeformat.js.source.html#line473">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.DateTimeFormat.prototype.formatDate_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">formatDate_<span class="args">(<span class="arg">count</span>,&nbsp;<span class="arg">date</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Formats Date field according to pattern specified


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">count</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">Number of time pattern char repeats, it controls
    how a field should be formatted.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">date</span>
        : <span>!</span><span class="type">goog.date.DateLike</span>
        <div class="entryOverview">It holds the date object to be formatted.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            Formatted string that represent this field.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_datetimeformat.js.source.html#line606">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.DateTimeFormat.prototype.formatDayOfWeek_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">formatDayOfWeek_<span class="args">(<span class="arg">count</span>,&nbsp;<span class="arg">date</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Formats Day of week field according to pattern specified


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">count</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">Number of time pattern char repeats, it controls
    how a field should be formatted.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">date</span>
        : <span>!</span><span class="type">goog.date.DateLike</span>
        <div class="entryOverview">It holds the date object to be formatted.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            Formatted string that represent this field.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_datetimeformat.js.source.html#line456">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.DateTimeFormat.prototype.formatEra_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">formatEra_<span class="args">(<span class="arg">count</span>,&nbsp;<span class="arg">date</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Formats Era field according to pattern specified.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">count</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">Number of time pattern char repeats, it controls
    how a field should be formatted.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">date</span>
        : <span>!</span><span class="type">goog.date.DateLike</span>
        <div class="entryOverview">It holds the date object to be formatted.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            Formatted string that represent this field.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_datetimeformat.js.source.html#line333">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.DateTimeFormat.prototype.formatField_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">formatField_<span class="args">(<span class="arg">patternStr</span>,&nbsp;<span class="arg">date</span>,&nbsp;<span class="arg">dateForDate</span>,&nbsp;<span class="arg">dateForTime</span>,&nbsp;<span class="arg">opt_timeZone</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Formatting one date field.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">patternStr</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The pattern string for the field being formatted.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">date</span>
        : <span>!</span><span class="type">goog.date.DateLike</span>
        <div class="entryOverview">represents the real date to be formatted.</div>
     </td>
   </tr>
     
   <tr class="even">
     <td>
        <span class="entryName">dateForDate</span>
        : <span>!</span><span class="type">goog.date.DateLike</span>
        <div class="entryOverview">used to resolve date fields
    for formatting.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">dateForTime</span>
        : <span>!</span><span class="type">goog.date.DateLike</span>
        <div class="entryOverview">used to resolve time fields
    for formatting.</div>
     </td>
   </tr>
     
   <tr class="even">
     <td>
        <span class="entryName">opt_timeZone</span>
        : <span class="type">goog.i18n.TimeZone=</span>
        <div class="entryOverview">This holds current time zone info.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            string representation for the given field.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_datetimeformat.js.source.html#line731">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.DateTimeFormat.prototype.formatFractionalSeconds_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">formatFractionalSeconds_<span class="args">(<span class="arg">count</span>,&nbsp;<span class="arg">date</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Formats Fractional seconds field according to pattern
specified


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">count</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">Number of time pattern char repeats, it controls
    how a field should be formatted.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">date</span>
        : <span>!</span><span class="type">goog.date.DateLike</span>
        <div class="entryOverview">It holds the date object to be formatted.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            Formatted string that represent this field.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_datetimeformat.js.source.html#line437">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.DateTimeFormat.prototype.formatMinutes_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">formatMinutes_<span class="args">(<span class="arg">count</span>,&nbsp;<span class="arg">date</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Formats Minutes field according to pattern specified


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">count</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">Number of time pattern char repeats, it controls
    how a field should be formatted.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">date</span>
        : <span>!</span><span class="type">goog.date.DateLike</span>
        <div class="entryOverview">It holds the date object to be formatted.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            Formatted string that represent this field.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_datetimeformat.js.source.html#line620">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.DateTimeFormat.prototype.formatMonth_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">formatMonth_<span class="args">(<span class="arg">count</span>,&nbsp;<span class="arg">date</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Formats Month field according to pattern specified


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">count</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">Number of time pattern char repeats, it controls
    how a field should be formatted.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">date</span>
        : <span>!</span><span class="type">goog.date.DateLike</span>
        <div class="entryOverview">It holds the date object to be formatted.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            Formatted string that represent this field.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_datetimeformat.js.source.html#line378">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.DateTimeFormat.prototype.formatQuarter_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">formatQuarter_<span class="args">(<span class="arg">count</span>,&nbsp;<span class="arg">date</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Formats Quarter field according to pattern specified


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">count</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">Number of time pattern char repeats, it controls
    how a field should be formatted.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">date</span>
        : <span>!</span><span class="type">goog.date.DateLike</span>
        <div class="entryOverview">It holds the date object to be formatted.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            Formatted string that represent this field.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_datetimeformat.js.source.html#line589">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.DateTimeFormat.prototype.formatSeconds_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">formatSeconds_<span class="args">(<span class="arg">count</span>,&nbsp;<span class="arg">date</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Formats Seconds field according to pattern specified


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">count</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">Number of time pattern char repeats, it controls
    how a field should be formatted.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">date</span>
        : <span>!</span><span class="type">goog.date.DateLike</span>
        <div class="entryOverview">It holds the date object to be formatted.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            Formatted string that represent this field.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_datetimeformat.js.source.html#line636">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.DateTimeFormat.prototype.formatStandaloneDay_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">formatStandaloneDay_<span class="args">(<span class="arg">count</span>,&nbsp;<span class="arg">date</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Formats Standalone weekday field according to pattern specified


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">count</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">Number of time pattern char repeats, it controls
    how a field should be formatted.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">date</span>
        : <span>!</span><span class="type">goog.date.DateLike</span>
        <div class="entryOverview">It holds the date object to be formatted.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            formatted string that represent this field.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_datetimeformat.js.source.html#line539">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.DateTimeFormat.prototype.formatStandaloneMonth_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">formatStandaloneMonth_<span class="args">(<span class="arg">count</span>,&nbsp;<span class="arg">date</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Formats Standalone Month field according to pattern specified


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">count</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">Number of time pattern char repeats, it controls
    how a field should be formatted.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">date</span>
        : <span>!</span><span class="type">goog.date.DateLike</span>
        <div class="entryOverview">It holds the date object to be formatted.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            formatted string that represent this field.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_datetimeformat.js.source.html#line564">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.DateTimeFormat.prototype.formatTimeZoneId_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">formatTimeZoneId_<span class="args">(<span class="arg">date</span>,&nbsp;<span class="arg">opt_timeZone</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Generate GMT timeZone string for given date

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">date</span>
        : <span>!</span><span class="type">goog.date.DateLike</span>
        <div class="entryOverview">Whose value being evaluated.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">opt_timeZone</span>
        : <span class="type">goog.i18n.TimeZone=</span>
        <div class="entryOverview">This holds current time zone info.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            GMT timeZone string.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_datetimeformat.js.source.html#line711">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.DateTimeFormat.prototype.formatTimeZoneRFC_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">formatTimeZoneRFC_<span class="args">(<span class="arg">count</span>,&nbsp;<span class="arg">date</span>,&nbsp;<span class="arg">opt_timeZone</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Formats TimeZone field following RFC


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">count</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">Number of time pattern char repeats, it controls
    how a field should be formatted.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">date</span>
        : <span>!</span><span class="type">goog.date.DateLike</span>
        <div class="entryOverview">It holds the date object to be formatted.</div>
     </td>
   </tr>
     
   <tr class="even">
     <td>
        <span class="entryName">opt_timeZone</span>
        : <span class="type">goog.i18n.TimeZone=</span>
        <div class="entryOverview">This holds current time zone info.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            Formatted string that represent this field.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_datetimeformat.js.source.html#line674">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.DateTimeFormat.prototype.formatTimeZone_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">formatTimeZone_<span class="args">(<span class="arg">count</span>,&nbsp;<span class="arg">date</span>,&nbsp;<span class="arg">opt_timeZone</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Generate GMT timeZone string for given date

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">count</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">Number of time pattern char repeats, it controls
    how a field should be formatted.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">date</span>
        : <span>!</span><span class="type">goog.date.DateLike</span>
        <div class="entryOverview">Whose value being evaluated.</div>
     </td>
   </tr>
     
   <tr class="even">
     <td>
        <span class="entryName">opt_timeZone</span>
        : <span class="type">goog.i18n.TimeZone=</span>
        <div class="entryOverview">This holds current time zone info.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            GMT timeZone string.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_datetimeformat.js.source.html#line695">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.DateTimeFormat.prototype.formatWeekOfYear_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">formatWeekOfYear_<span class="args">(<span class="arg">count</span>,&nbsp;<span class="arg">date</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Formats the week of year field according to pattern specified


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">count</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">Number of time pattern char repeats, it controls
    how a field should be formatted.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">date</span>
        : <span>!</span><span class="type">goog.date.DateLike</span>
        <div class="entryOverview">It holds the date object to be formatted.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            Formatted string that represent this field.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_datetimeformat.js.source.html#line652">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.DateTimeFormat.prototype.formatYear_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">formatYear_<span class="args">(<span class="arg">count</span>,&nbsp;<span class="arg">date</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Formats Year field according to pattern specified
  Javascript Date object seems incapable handling 1BC and
  year before. It can show you year 0 which does not exists.
  following we just keep consistent with javascript's
  toString method. But keep in mind those things should be
  unsupported.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">count</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">Number of time pattern char repeats, it controls
    how a field should be formatted.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">date</span>
        : <span>!</span><span class="type">goog.date.DateLike</span>
        <div class="entryOverview">It holds the date object to be formatted.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            Formatted string that represent this field.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_datetimeformat.js.source.html#line353">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.DateTimeFormat.prototype.localizeNumbers_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">localizeNumbers_<span class="args">(<span class="arg">input</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Localizes a string potentially containing numbers, replacing ASCII digits
with native digits if specified so by the locale. Leaves other characters.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">input</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">the string to be localized, using ASCII digits.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            localized string, potentially using native digits.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_datetimeformat.js.source.html#line292">code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
</div>




<h2>Instance Properties</h2>







<div>
       <div class="desc">
         Defined in
         <span class="fn-name">
            <a href="class_goog_i18n_DateTimeFormat.html">
              goog.i18n.DateTimeFormat
            </a>
         </span>
       </div>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.i18n.DateTimeFormat.prototype.dateTimeSymbols_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">dateTimeSymbols_</span>
        : 
     </div>


     <div class="entryOverview">
       Data structure that with all the locale info needed for date formatting.
(day/month names, most common patterns, rules for week-end, etc.)

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_datetimeformat.js.source.html#line116">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.i18n.DateTimeFormat.prototype.patternParts_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">patternParts_</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_datetimeformat.js.source.html#line108">Code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
</div>




<h2>Static Methods</h2>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.DateTimeFormat.localizeNumbers"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.i18n.DateTimeFormat.</span><span class="entryName">localizeNumbers<span class="args">(<span class="arg">input</span>,&nbsp;<span class="arg">opt_dateTimeSymbols</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Localizes a string potentially containing numbers, replacing ASCII digits
with native digits if specified so by the locale. Leaves other characters.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">input</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span><span>&nbsp;|&nbsp;</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">the string to be localized, using ASCII digits.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">opt_dateTimeSymbols</span>
        : <span>!</span><span class="type">Object=</span>
        <div class="entryOverview">Optional symbols to use use rather than
    the global symbols.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            localized string, potentially using native digits.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_datetimeformat.js.source.html#line305">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.DateTimeFormat.validateDateHasTime_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.i18n.DateTimeFormat.</span><span class="entryName">validateDateHasTime_<span class="args">(<span class="arg">date</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Validates is the goog.date.DateLike object to format has a time.
DateLike means Date|goog.date.Date, and goog.date.DateTime inherits
from goog.date.Date. But goog.date.Date does not have time related
members (getHours, getMinutes, getSeconds).
Formatting can be done, if there are no time placeholders in the pattern.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">date</span>
        : <span>!</span><span class="type">goog.date.DateLike</span>
        <div class="entryOverview">the object to validate.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_datetimeformat.js.source.html#line400">code &raquo;</a>
  </td>
     </tr>


  </table>
</div>



<h2>Static Properties</h2>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.i18n.DateTimeFormat.TOKENS_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.i18n.DateTimeFormat.</span><span class="entryName">TOKENS_</span>
        : 
     </div>


     <div class="entryOverview">
       regular expression pattern for parsing pattern string

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_datetimeformat.js.source.html#line150">Code &raquo;</a>
  </td>
     </tr>


  </table>
</div>



<h2>Enumerations</h2>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry public">
       <td class="access"></td>





  <a name="goog.i18n.DateTimeFormat.Format"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.i18n.DateTimeFormat.</span><span class="entryName">Format</span>
        : 
     </div>


     <div class="entryOverview">
       Enum to identify predefined Date/Time format pattern.

     </div>

     <div class="entryDetails">
       <div class="detailsSection">
          <b>Constants:</b>
          <table class="horiz-rule">
            <tbody>
              <tr><td>
                <span class="entryName">
                  FULL_DATE
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  FULL_DATETIME
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  FULL_TIME
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  LONG_DATE
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  LONG_DATETIME
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  LONG_TIME
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  MEDIUM_DATE
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  MEDIUM_DATETIME
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  MEDIUM_TIME
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  SHORT_DATE
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  SHORT_DATETIME
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  SHORT_TIME
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
           </tbody>
         </table>
       </div>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_datetimeformat.js.source.html#line129">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.i18n.DateTimeFormat.PartTypes_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.i18n.DateTimeFormat.</span><span class="entryName">PartTypes_</span>
        : 
     </div>


     <div class="entryOverview">
       These are token types, corresponding to above token definitions.

     </div>

     <div class="entryDetails">
       <div class="detailsSection">
          <b>Constants:</b>
          <table class="horiz-rule">
            <tbody>
              <tr><td>
                <span class="entryName">
                  FIELD
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  LITERAL
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  QUOTED_STRING
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
           </tbody>
         </table>
       </div>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_datetimeformat.js.source.html#line165">Code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
      <!-- Column 1 end -->
    </div>

        <div class="col2">
          <!-- Column 2 start -->
          <div class="col2-c">
            <h2 id="ref-head">Package i18n</h2>
            <div id="localView"></div>
          </div>

          <div class="col2-c">
            <h2 id="ref-head">Package Reference</h2>
            <div id="sideTypeIndex" rootPath="" current="i18n.DateTimeFormat"></div>
          </div>
          <!-- Column 2 end -->
        </div>
</div>
</div>

</body>
</html>
